package com.jl.utils.netty;

public class JavaWebSocketFactory {

    private static JavaWebSocketClient javaWebSocketClient;

    private  JavaWebSocketFactory(){

    }

    public static JavaWebSocketClient getInstance(){
        if (javaWebSocketClient==null){
            synchronized (JavaWebSocketClient.class){
                if (javaWebSocketClient==null){
                    return new JavaWebSocketClient();
                }
            }
        }
        return null;
    }
}
